package com.krain.ddbb.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ex-kuangxiaomin101 on 2016-01-06.
 */
public class UserCardBean implements Parcelable {
    private String front_image;//身份证正面
    private String opposite_image;//身份证反面
    private int status;//状态 0还没审核  1表示审核通过  2不通过
    private int bank_id;
    private String bank_number;
    private String bank_name;
    private String owner;

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public int getBank_id() {
        return bank_id;
    }

    public void setBank_id(int bank_id) {
        this.bank_id = bank_id;
    }

    public String getBank_number() {
        return bank_number;
    }

    public void setBank_number(String bank_number) {
        this.bank_number = bank_number;
    }

    public String getBank_name() {
        return bank_name;
    }

    public void setBank_name(String bank_name) {
        this.bank_name = bank_name;
    }

    public String getFront_image() {
        return front_image;
    }

    public void setFront_image(String front_image) {
        this.front_image = front_image;
    }

    public String getOpposite_image() {
        return opposite_image;
    }

    public void setOpposite_image(String opposite_image) {
        this.opposite_image = opposite_image;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }


    public UserCardBean() {
    }

    @Override
    public String toString() {
        return "UserCardBean{" +
                "front_image='" + front_image + '\'' +
                ", opposite_image='" + opposite_image + '\'' +
                ", status=" + status +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.front_image);
        dest.writeString(this.opposite_image);
        dest.writeInt(this.status);
        dest.writeInt(this.bank_id);
        dest.writeString(this.bank_number);
        dest.writeString(this.bank_name);
        dest.writeString(this.owner);
    }

    protected UserCardBean(Parcel in) {
        this.front_image = in.readString();
        this.opposite_image = in.readString();
        this.status = in.readInt();
        this.bank_id = in.readInt();
        this.bank_number = in.readString();
        this.bank_name = in.readString();
        this.owner = in.readString();
    }

    public static final Creator<UserCardBean> CREATOR = new Creator<UserCardBean>() {
        public UserCardBean createFromParcel(Parcel source) {
            return new UserCardBean(source);
        }

        public UserCardBean[] newArray(int size) {
            return new UserCardBean[size];
        }
    };
}
